
package com.jf.cloud.api.delivery.dto;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 物流订单项信息DTO
 *
 * @author zz
 * @date 2020-12-07 15:10:00
 */
public class DeliveryOrderItemDTO{

    @Schema(description = "id" )
    private Long orderItemId;

    @Schema(description = "订单物流包裹id" )
    private Long deliveryOrderId;

    @Schema(description = "商品图片" )
    private String pic;

    @Schema(description = "商品名称" )
    private String spuName;

    @Schema(description = "发货改变的数量" )
    private Integer changeNum;

    public Long getOrderItemId() {
        return orderItemId;
    }

    public void setOrderItemId(Long orderItemId) {
        this.orderItemId = orderItemId;
    }

    public Long getDeliveryOrderId() {
        return deliveryOrderId;
    }

    public void setDeliveryOrderId(Long deliveryOrderId) {
        this.deliveryOrderId = deliveryOrderId;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getSpuName() {
        return spuName;
    }

    public void setSpuName(String spuName) {
        this.spuName = spuName;
    }

    public Integer getChangeNum() {
        return changeNum;
    }

    public void setChangeNum(Integer changeNum) {
        this.changeNum = changeNum;
    }

    @Override
    public String toString() {
        return "DeliveryOrderItemDTO{" +
                "orderItemId=" + orderItemId +
                ", deliveryOrderId=" + deliveryOrderId +
                ", pic='" + pic + '\'' +
                ", spuName='" + spuName + '\'' +
                ", changeNum=" + changeNum +
                '}';
    }
}
